#define _CRT_SECURE_NO_WARNINGS 1

#include"MyQueue.h"
#include"Stack.h"

void Test()
{
	ST st;
	STInit(&st);
	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	while (!(STEmpty(&st)))
	{
		printf("%d ", STTop(&st));
		STPop(&st);
	}
	printf("\n");
	STDestroy(&st);
}

void Test2()
{
	MyQueue* ret = myQueueCreate();
	myQueuePush(ret, 1);
	myQueuePush(ret, 2);
	myQueuePush(ret, 3);
	/*printf("%d ", myQueuePeek(ret));
	myQueuePop(ret);*/
	//myQueuePush(ret, 4);
	//myQueuePush(ret, 5);
	//while (!myQueueEmpty(ret))
	//{
	//	printf("%d ", myQueuePeek(ret));
	//	myQueuePop(ret);
	//}
	printf("\n");
}

int main()
{
	//Test();
	Test2();

	return 0;
}
